Total Complexity | 37 |
Dependencies | 7 |
Dependents | 1 |
Total lines | 258 |
Lines of code | 122 |
Logical lines of code | 83 |
Comment lines | 66 |
Methods | 8 |
Properties | 5 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
process() | 38 | 16 | 71 | |
getSalePrice() | 62 | 6 | 10 | |
getRegularPrice() | 65 | 4 | 8 | |
getPrice() | 65 | 4 | 8 | |
getIsOnSale() | 67 | 3 | 7 | |
__construct() | 68 | 2 | 7 | |
withContext() | 81 | 1 | 3 | |
isValidPriceMod() | 69 | 1 | 8 |